﻿// ***********************************************************************
// Assembly         : Admin.Framework.Core.WebApi
// Author           : xwltz
// Created          : 2019-05-29
//
// Last Modified By : xwltz
// Last Modified On : 2019-05-29
// ***********************************************************************
// <summary>
//  基础服务类
// </summary>
// ***********************************************************************

using Admin.Framework.Core.Infrastructure.Helper;
using Microsoft.AspNetCore.Mvc;

namespace Admin.Framework.Core.WebApi.Controllers
{
    /// <summary>
    /// 基础服务类
    /// </summary>
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class ServiceController : BaseController
    {
        /// <summary>
        /// 获取姓名
        /// </summary>
        /// <returns></returns>
        [HttpGet]
        public ActionResult<string> Get()
        {
            LogHelper.WriteTxt("123");
            var values = new {name = "xwltz"};
            return new JsonResult(values);
        }
    }
}